package com.app.service;

import com.app.common.Result;
import com.app.model.DistributionRecord;
import com.app.vo.DistributionRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 发放记录 服务类
 * </p>
 *
 * @author yoominic
 * @since 2024-06-22
 */
public interface IDistributionRecordsService extends IService<DistributionRecord> {

    DistributionRecordVo getDistributionRecordsByBusinessId(Integer page, Integer limit, String dateLimit, Integer business,Integer integralDistributionType) throws Exception;

    /**
     * 根据businessId删除发放记录
     *
     * @param id
     * @return
     */
    Result deleteDistributionRecordsById(Integer id);
}
